﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MainMenu.aspx.cs" Inherits="Discussion_Starter" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Main Menu</title>
    <script src="../App_Themes/Win8Theme/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <link href="../Styles/metro.blue.css" rel="stylesheet" type="text/css" />
    
    <style type="text/css">
        .hazemHeader {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #0072C6;
            color: #FFF;
        }
        .hazemBody {
            width: 900px;
            margin: 0 auto;
            margin-top: 40px;
        }

    </style>
    <script type="text/javascript">
    //    $(document).ready(function () {
    //       $("#createNew").click(function () {
    //            var x = $("#ownerId");
    //            window.location = "CreateDiscussion.aspx?id="+x.val();
    //        });

    //    });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="header" class="hazemHeader">
        <h4 style="float: left; padding-left: 5px; padding-right: 5px; padding-bottom: 5px">
            your Member ID:
        </h4>
        <input runat="server" id="ownerId" type="text" style="float: left; margin-top: 3px" value="1" />
    </div>
    <br />
    <div class="hazemBody">
        <div id="createnewDiscussion" class="tile one bluebg" onclick="document.getElementById('<%= btnCreatenewDiscussion.ClientID %>').click()">
            <asp:Button runat="server" id="btnCreatenewDiscussion" style="display:none" onclick="CreatDiscussion_Click" />
            <h2>Create New Discusison</h2>
        </div>
            

        <div id="openDiscussion" class="tile one bluebg" onclick="document.getElementById('<%= btnOpenDiscussion.ClientID %>').click()">
            <asp:Button runat="server" id="btnOpenDiscussion" style="display:none" onclick="OpenDiscussion_Click" />
            <h2>Open A Discussion</h2>
        </div>
         

        <!-- querry string -->

    </div>
    </form>
</body>
</html>